<?php

use Faker\Generator as Faker;
use Carbon\Carbon;

$factory->define(App\Product::class, function (Faker $faker) {
    $now = Carbon::now()->toDateTimeString();

    return [
        'name'=>$faker->name,
        'description'=>$faker->sentence,
        'picture'=>'/img/default.jpg',
        'created_at' => $now,
        'updated_at' => $now
    ];


});
